package com.bruce.asurada.enums;

public enum BusinessErrorEnum {
    USER_NOT_EXIST(1001,"用户不存在");

    private final int code ;
    private final String message;
    BusinessErrorEnum(int code ,String message) {
        this.code = 500;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
